<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>添加商品</title>
	<link href="./styles/global.css"  rel="stylesheet"  type="text/css" media="all" />
	<script type="text/javascript" src="./scripts/jquery-1.6.4.js"></script>
</head>
<body>
<h3>添加商品</h3>
<form action="#" th:action="@{/goods/create}" th:object="${good}" method="post">
<table width="70%"  border="1" cellpadding="5" cellspacing="0" bgcolor="#cccccc">
	<tr>
		<td align="right">商品名称</td>
		<td><input type="text" th:field="*{goodName}"  placeholder="请输入商品名称"/></td>
	</tr>
	<tr>
		<td align="right">选择分类</td>
		<td>
			<select th:field="*{type}">
            	<option value="picao">皮草</option>
            	<option value="piyi">皮衣</option>
            	<option value="xiangbao">箱包</option>
            	<option value="peishi">配饰</option>
            </select>
        </td>
	</tr>
	<tr>
		<td align="right">商品货号</td>
		<td><input type="text" th:field="*{goodsSN}"  placeholder="请输入商品货号"/></td>
	</tr>
	<tr>
		<td align="right">商品属性</td>
		<td> 颜色 <input type="text" th:field="*{goodName}"  placeholder="请输入颜色"/> 尺码 <input type="text" name="mPrice"  placeholder="请输入尺码"/><a href="javascript:void(0)" id="selectFileBtn">添加附件</a></td>
	</tr>
	<tr>
		<td align="right">商品折扣价</td>
		<td><input type="text" name="iPrice"  placeholder="请输入商品折扣价"/></td>
	</tr>
	<tr>
		<td align="right">赠送钻石币数量</td>
		<td><input type="text" name="iPrice"  placeholder="请输入钻石币数量"/></td>
	</tr>
	<tr>
		<td align="right">商品主图</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品细节图1</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品细节图2</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品细节图3</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品细节图4</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品细节图5</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td align="right">商品详情图</td>
		<td>
			<a href="javascript:void(0)" id="selectFileBtn">添加附件</a>
			<div id="attachList" class="clear"></div>
		</td>
	</tr>
	<tr>
		<td colspan="2"><input type="submit"  value="发布商品"/></td>
	</tr>
</table>
</form>
</body>
</html>